// samsting : this file is auto create.

#include "Yundun/2015-04-16/WafLogResponse.h"

namespace aliyun { namespace Yundun {

WafLogResponse::WafLogResponse() {
}

const string& WafLogResponse::WafLog::GetSourceIp(void) const {
  return SourceIp_;
}

const string& WafLogResponse::WafLog::GetTime(void) const {
  return Time_;
}

const string& WafLogResponse::WafLog::GetUrl(void) const {
  return Url_;
}

const string& WafLogResponse::WafLog::GetType(void) const {
  return Type_;
}

int WafLogResponse::WafLog::GetStatus(void) const {
  return Status_;
}

const std::vector<WafLogResponse::WafLog>& WafLogResponse::GetLogList(void) const {
  return LogList_;
}

int WafLogResponse::GetWebAttack(void) const {
  return WebAttack_;
}

bool WafLogResponse::GetNewWafUser(void) const {
  return NewWafUser_;
}

bool WafLogResponse::GetWafOpened(void) const {
  return WafOpened_;
}

bool WafLogResponse::GetInWhiteList(void) const {
  return InWhiteList_;
}

int WafLogResponse::GetDomainCount(void) const {
  return DomainCount_;
}

const string& WafLogResponse::GetStartTime(void) const {
  return StartTime_;
}

const string& WafLogResponse::GetEndTime(void) const {
  return EndTime_;
}

int WafLogResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int WafLogResponse::GetPageSize(void) const {
  return PageSize_;
}

int WafLogResponse::GetTotalCount(void) const {
  return TotalCount_;
}

const char* WafLogResponse::BaseKey(void) {
  return "WafLogResponse";
}

void WafLogResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int LogList__length = 0;
  UnmarshallerInt(LogList__length, response_map, "WafLogResponse.LogList.Length");
  if(LogList__length >= 0) {
    LogList_.resize(LogList__length);
    for(int i1 = 0; i1 < LogList__length; i1++) {
      UnmarshallerString(LogList_[i1].SourceIp_, response_map, "WafLogResponse.LogList["+string_ValueOfInt(i1)+"].SourceIp");
      UnmarshallerString(LogList_[i1].Time_, response_map, "WafLogResponse.LogList["+string_ValueOfInt(i1)+"].Time");
      UnmarshallerString(LogList_[i1].Url_, response_map, "WafLogResponse.LogList["+string_ValueOfInt(i1)+"].Url");
      UnmarshallerString(LogList_[i1].Type_, response_map, "WafLogResponse.LogList["+string_ValueOfInt(i1)+"].Type");
      UnmarshallerInt(LogList_[i1].Status_, response_map, "WafLogResponse.LogList["+string_ValueOfInt(i1)+"].Status");
    } // for(int i1 = 0; i1 < LogList__length; i1++) {
  } // if(LogList__length >= 0) {

  UnmarshallerInt(WebAttack_, response_map, "WafLogResponse.WebAttack");
  UnmarshallerBool(NewWafUser_, response_map, "WafLogResponse.NewWafUser");
  UnmarshallerBool(WafOpened_, response_map, "WafLogResponse.WafOpened");
  UnmarshallerBool(InWhiteList_, response_map, "WafLogResponse.InWhiteList");
  UnmarshallerInt(DomainCount_, response_map, "WafLogResponse.DomainCount");
  UnmarshallerString(StartTime_, response_map, "WafLogResponse.StartTime");
  UnmarshallerString(EndTime_, response_map, "WafLogResponse.EndTime");
  UnmarshallerInt(PageNumber_, response_map, "WafLogResponse.PageNumber");
  UnmarshallerInt(PageSize_, response_map, "WafLogResponse.PageSize");
  UnmarshallerInt(TotalCount_, response_map, "WafLogResponse.TotalCount");
}


} } // namespace aliyun { namespace Yundun {

// end of file 
